import request from '@/utils/request'

// 查询销毁用户列表
export function listArchiveDesUser(query) {
  return request({
    url: '/archive/ArchiveDesUser/list',
    method: 'get',
    params: query
  })
}

// 查询销毁用户详细
export function getArchiveDesUser(id) {
  return request({
    url: '/archive/ArchiveDesUser/' + id,
    method: 'get'
  })
}

// 新增销毁用户
export function addArchiveDesUser(data) {
  return request({
    url: '/archive/ArchiveDesUser',
    method: 'post',
    data: data
  })
}

// 修改销毁用户
export function updateArchiveDesUser(data) {
  return request({
    url: '/archive/ArchiveDesUser',
    method: 'put',
    data: data
  })
}

// 删除销毁用户
export function delArchiveDesUser(id) {
  return request({
    url: '/archive/ArchiveDesUser/' + id,
    method: 'delete'
  })
}
